//
//  LoadingAnimalView.h
//  LoanTeam15
//
//  Created by gynjobs on 2017/8/17.
//  Copyright © 2017年 cangming. All rights reserved.
//

#import "BaseCommondView.h"
typedef enum {
    LOAD_BLUE_CIRCLE,
    LOAD_WHITE_CIRCLE,
    LOAD_GRAY_CIRCLE,
    LOAD_SUCCESS,
    
}LOAD_TYPE;
@interface LoadingAnimalView : BaseCommondView{
    LOAD_TYPE load_type;
}
@property(assign,nonatomic)LOAD_TYPE load_type;

+(void)showBlueLoadingAddedTo:(nonnull UIView *)view;
+(void)showGrayLoadingAddedTo:(nonnull UIView *)view;
+(void)showWhiteLoadingAddedTo:(nonnull UIView *)view;
+ (void)showSuccessLoadingAddedTo:(nonnull UIView *)view withBlock:(nullable void (^)(void))block;;


+ (void)showToastAddedTo:(nonnull UIView*)view withTitle:( nonnull NSString *)title withBlock:(nullable void (^)(void))block;
+ (BOOL)hideLoadingForView:(nonnull UIView *)view;
+(nonnull id)genGrayImages;
+(nonnull id)genBlueImages;

@end
